/**
 * @Author:  renyc
 * @Date: 2023年2月22日09:08:30
 */
'use strict';

import WFSVersion from "./wfs/WFSVersion";
import WFSProvider_1_1_0 from "./wfs/WFSProvider_1_1_0";

export default class OgcProviderFactory{

    /**
     * 创建WFS的编码器
     */
    static createWfsProvider(version){
        let provider = undefined;
        switch (version) {
            case WFSVersion.V_1_0_0:{
                break;
            }
            case WFSVersion.V_1_1_0:{
                provider = new WFSProvider_1_1_0();
                break;
            }
            case WFSVersion.V_2_0_0:{
                break;
            }
            default:
                break;
        }
        return provider;
    }
    
}